package com.ruoyi.project.ledger.mapper;

import java.util.List;
import com.ruoyi.project.ledger.domain.WeightStationDanger;

/**
 * 隐患自查自纠Mapper接口
 * 
 * @author ruoyi
 * @date 2020-04-23
 */
public interface WeightStationDangerMapper 
{
    /**
     * 查询隐患自查自纠
     * 
     * @param id 隐患自查自纠ID
     * @return 隐患自查自纠
     */
    public WeightStationDanger selectWeightStationDangerById(Long id);

    /**
     * 查询隐患自查自纠列表
     * 
     * @param weightStationDanger 隐患自查自纠
     * @return 隐患自查自纠集合
     */
    public List<WeightStationDanger> selectWeightStationDangerList(WeightStationDanger weightStationDanger);

    /**
     * 新增隐患自查自纠
     * 
     * @param weightStationDanger 隐患自查自纠
     * @return 结果
     */
    public int insertWeightStationDanger(WeightStationDanger weightStationDanger);

    /**
     * 修改隐患自查自纠
     * 
     * @param weightStationDanger 隐患自查自纠
     * @return 结果
     */
    public int updateWeightStationDanger(WeightStationDanger weightStationDanger);

    /**
     * 删除隐患自查自纠
     * 
     * @param id 隐患自查自纠ID
     * @return 结果
     */
    public int deleteWeightStationDangerById(Long id);

    /**
     * 批量删除隐患自查自纠
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteWeightStationDangerByIds(Long[] ids);
}
